﻿using RentalDTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RentalIService
{
   public interface IServiceHouse : IServiceSupport
    {
        List<HouseDTO> ShowHouseList(int offset, int limit, string sort, string order, string detailed,string address, ref int rowCount);
        List<string> ShowAddressList(string name);
        List<HouseDTO> ShowDetailList();
        List<HouseRecordDTO> ShowChildTableList(string houseId);
        bool AddHouse(string address, int HouseLen, string Floore, string Detailed, int Type, string Remark, int HouseMoney);
        bool UpdaHouse(string index, int HouseLen, string address, string Floore, string Detailed, int Type, string Remark, int HouseMoney);
        bool HouseDel(string lists);
        bool HouseXiaJia(string text,string id);
    }
}
